@import '~ant-design-vue/es/style/themes/default.less';

.ant-pro-global-header-index-right {
  margin-right: 8px;
  font-family: "bmwTypeGlobalRegular";

  &.ant-pro-global-header-index-dark {
    .ant-pro-global-header-index-action {
      color: hsl(0deg 0% 100% / 85%);

      &:hover {
        background: #1890ff;
      }
    }
  }

  .ant-pro-account-avatar {
    display: flex !important;
    align-items: center;
    .antd-pro-global-header-index-avatar {
      margin:~'calc((@{layout-header-height} - 24px) / 2)' 0;
      margin-right: 8px;
      color: @primary-color;
      vertical-align: top;
      background: rgb(255 255 255 / 85%);
    }
  }

  .menu {
    .anticon {
      margin-right: 8px;
    }

    .ant-dropdown-menu-item {
      min-width: 100px;
    }

  }
}

.ant-pro-basicLayout-content {
  margin-top: 0 !important;
}

.ant-layout-sider-children {
  .ant-menu-item {
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin-left: 16px !important;
    border-radius: 6px;
    width: calc(100% - 32px) !important;

    &::after {
      border: none !important;
    }
  }
}

.ant-pro-sider-menu-sider.light .ant-pro-sider-menu-logo {
  box-shadow: none !important;
  h1 {
    font-size: 18.5px;
    margin:  0px 5px;
  }
}

.ant-pro-page-header-wrap,
.ant-pro-page-header-wrap-page-header-warp {
  background: transparent !important;
}

.ant-layout-footer {
  padding: 0 !important;
}

.ant-pro-page-header-wrap-children-content {
  margin: 0 24px !important;
}
.ant-pro-page-header-wrap {
  margin-top: 0 !important;
}

.ant-pro-sider-menu .ant-drawer-content-wrapper {
  width: 200px !important;
}

.ant-table-thead>tr>th {
  background: transparent !important;
}

.ant-layout-header,
.ant-pro-global-header {
  background: #f0f2f5 !important;
  box-shadow: none !important;
  // display: none;
}

.ant-menu-item-selected {
  font-weight: bold;
}

.ant-drawer-header {
  border-bottom: none !important;
  padding-left: 22px !important;

  .ant-drawer-title {
    border-left: #5077a5 4px solid;
    padding-left: 8px;
  }
}

.ant-pro-basicLayout-children-content-wrap {
  height: 100%;
  display: flex !important;
}

.ant-pagination {
  font-family: bmwTypeGlobalRegular;
  margin-top: 20px !important;
  text-align: center;
}